package org.x.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.Long;
import java.util.Date;
import java.lang.String;
import java.lang.Integer;

/**
 * 文书草稿表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "document_draft", dataSource = "caseDS")
public class DocumentDraftEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联文书ID
     */
    @Column(value = "doc_id")
    private Long docId;

    /**
     * 草稿内容
     */
    @Column(value = "content")
    private String content;

    /**
     * 版本号
     */
    @Column(value = "version")
    private Integer version;

    /**
     * 编辑用户ID
     */
    @Column(value = "editor_id")
    private Long editorId;

    @Column(value = "save_time")
    private Date saveTime;



}
